package per.srp.demo.web.controller.entity;

import java.util.HashMap;

public class ReturnPack {
    private boolean result;
    private String msg;
    private HashMap map;

    public ReturnPack(boolean result, String msg, Object data) {
        this.result = result;
        this.msg = msg;
        this.map = new HashMap();
        this.map.put("data",data);
    }

    public boolean getResult() {
        return result;
    }

    public String getMsg() {
        return msg;
    }

    public Object getData() {
        return map.get("data");
    }
}
